﻿@charset "utf-8";
$green:#2ecc71;
$deep_green:#2ECC71;
$blue:#3498DB;
$deep_blue:#2890B9;
$red:#e74c3c;
$deep_red:#c0392b;
$grey1:#ecf0f1;
$grey2:#bdc3c7;
$grey3:#95a5a6;
$grey4:#7f8c8d;
$grey5:#34495e;
$grey6:#2c3e50;
$orange:#f88f55;
$bgcolor:rgb(240,240,240);
$contain:rgb(249,249,249);
$border_color:rgb(219,219,219);
@mixin trans {
  transition-duration:0.5s;
}


//预设
body{
  min-width: 1080px;
}
body, a {
  color: #3B4C56;
  margin: 0px;
  padding: 0px;
  //font-family: sans-serif;
  font-size: 14px;
  text-decoration: none;

}

a{
  &:hover{
    @include trans;
    color: $blue;
    text-decoration: none;
  }
}
@font-face {
  font-family: 'headerfont';
  src: url('../fonts/loveyou.otf');
}

ul{
  list-style: none;
}

//Header
/*header{
  //border-bottom: 1px #666 solid;
  min-width: 1280px;
  background-color: white;
  box-shadow: 0px 2px 3px #888888;
  padding: 15px 0px;
  font-size: 14px;
  margin: 0px;
  .logo{
    font-family: shouxie1,headerfont;
    font-size: 28px;
    padding-left: 50px;
  }
  .search{
    font-size: 15px;
  }
  .button-group{
    text-align: center;
    line-height: 27px;
    .login{

    }
    .registe{
      margin-left: 20px;
    }
    a{
      @include trans;
      text-decoration: none;
      &:hover{
        color: $blue;
      }
    }
  }
  #modal{

    .modal-dialog-mask {
      z-index: 9998;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #000;
      opacity: 0.1;
      filter: alpha(opacity=40); /!*用于支持IE特么的有病*!/
      display: none;
    }

    #login {
      font-size: 14px;
      z-index: 9999;
      position: fixed;
      top: 50%;
      left: 50%;
      margin: -180px 0 0 -330px;
      border-radius: 5px;
      border: solid 2px #666;
      background-color: #fff;
      display: none;
      box-shadow: 0 0 10px #666;
      .input-group{
        margin: 30px;
      }
    }

    #register {
      z-index: 9999;
      position: fixed;
      top: 45%;
      left: 50%;
      margin: -250px 0 0 -330px;
      border-radius: 5px;
      border: solid 2px #666;
      background-color: #fff;
      display: none;
      box-shadow: 0 0 10px #666;
      .input-group{
        margin: 30px;
      }
    }

  }
}*/

//floor-main
.main{
  //  nav
  .nav{
    #demo-list{
      .logo{
        font-family: shouxie1,headerfont;
        font-size: 28px;
        padding: 20px 40px;
      }
      min-height: 570px;
      background-color: white;
    }
    float: left;
    //width: 270px;
    .jquery-accordion-menu {
    min-width: 260px;
    float: left;
    position: relative;
    //box-shadow: 3px 15px 5px #333;    //颜色深度，阴影位置，模糊度
    box-shadow: 10px -3px 10px rgba(0,0,0,.1);
    #user-image{
      img{
        margin: 20px;
        border: 1px solid $grey2;
      }
      background-color: white;
      text-align: center;
      .user-name{
        font-size: 16px;
      }
    }
    .jquery-accordion-menu-footer, .jquery-accordion-menu-header {
      width: 100%;
      height: 50px;
      padding-left: 22px;
      float: left;
      line-height: 50px;
      font-weight: 600;
      color: #f0f0f0;
      background: #414956;
    }
    ul {
      margin: 0;
      padding: 0;
      list-style: none;
      li {
        width: 100%;
        display: block;
        float: left;
        position: relative;
        a {
          width: 100%;
          padding: 14px 22px;
          float: left;
          text-decoration: none;
          color: #f0f0f0;
          font-size: 13px;
          background: #414956;
          white-space: nowrap;
          position: relative;
          overflow: hidden;
          -o-transition: color .2s linear,background .2s linear;
          -moz-transition: color .2s linear,background .2s linear;
          -webkit-transition: color .2s linear,background .2s linear;
          transition: color 0.2s linear, background 0.2s linear;
          i {
            width: 34px;
            float: left;
            line-height: 18px;
            font-size: 16px;
            text-align: left;
          }
        }
      }
    }
    > ul > li {
      &.active > a, &:hover > a {
        color: #fff;
        background: #3b424d;
      }
      > a {
        border-bottom: solid 1px #3b424d;
      }
    }
    .submenu-indicator {
      float: right;
      right: 22px;
      position: absolute;
      line-height: 19px;
      font-size: 20px;
      -o-transition: transform .3s linear;
      -moz-transition: transform .3s linear;
      -webkit-transition: transform .3s linear;
      -ms-transition: transform 0.3s linear;
    }
    ul ul.submenu .submenu-indicator {
      line-height: 16px;
    }
    .submenu-indicator-minus > .submenu-indicator {
      -ms-transform: rotate(45deg);
      -moz-transform: rotate(45deg);
      -webkit-transform: rotate(45deg);
      transform: rotate(45deg);
    }
    ul {
      ul.submenu {
        width: 100%;
        display: none;
        position: static;
        li {
          ul.submenu {
            width: 100%;
            display: none;
            position: static;
          }
          clear: both;
          width: 100%;
          a {
            width: 100%;
            float: left;
            font-size: 11px;
            background: #383838;
            border-top: none;
            position: relative;
            border-left: solid 6px transparent;
            -o-transition: border .2s linear;
            -moz-transition: border .2s linear;
            -webkit-transition: border .2s linear;
            transition: border 0.2s linear;
          }
          &:hover > a {
            border-left-color: #414956;
          }
        }
        > li > {
          a {
            padding-left: 30px;
          }
          ul.submenu > li > {
            a {
              padding-left: 45px;
            }
            ul.submenu > li > a {
              padding-left: 60px;
            }
          }
        }
      }
      li .jquery-accordion-menu-label {
        min-width: 20px;
        padding: 1px 2px 1px 1px;
        position: absolute;
        right: 18px;
        top: 14px;
        font-size: 11px;
        font-weight: 800;
        color: #555;
        text-align: center;
        line-height: 18px;
        background: #f0f0f0;
        border-radius: 100%;
      }
      ul.submenu li .jquery-accordion-menu-label {
        min-width: 20px;
        padding: 1px 2px 1px 1px;
        position: absolute;
        right: 18px;
        top: 14px;
        font-size: 11px;
        font-weight: 800;
        color: #555;
        text-align: center;
        line-height: 18px;
        background: #f0f0f0;
        border-radius: 100%;
        top: 12px;
      }
    }
    }

    .ink {
    display: block;
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 100%;
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
    }

    .animate-ink {
    -webkit-animation: ripple .5s linear;
    -moz-animation: ripple .5s linear;
    -ms-animation: ripple .5s linear;
    -o-animation: ripple .5s linear;
    animation: ripple 0.5s linear;
    }

    @-webkit-keyframes ripple {
    100% {
      opacity: 0;
      -webkit-transform: scale(2.5);
    }
    }


    @-moz-keyframes ripple {
    100% {
      opacity: 0;
      -moz-transform: scale(2.5);
    }
    }


    @-o-keyframes ripple {
    100% {
      opacity: 0;
      -o-transform: scale(2.5);
    }
    }


    @keyframes ripple {
    100% {
      opacity: 0;
      transform: scale(2.5);
    }
    }


    .blue.jquery-accordion-menu {
    .jquery-accordion-menu-footer, .jquery-accordion-menu-header {
      background: #4A89DC;
    }
    ul {
      li a {
        background: #4A89DC;
      }
      ul.submenu li:hover > a {
        border-left-color: #3e82da;
      }
    }
    > ul > li {
      &.active > a, &:hover > a {
        background: #3e82da;
      }
      > a {
        border-bottom-color: #3e82da;
      }
    }
    }

    .green.jquery-accordion-menu {
    .jquery-accordion-menu-footer, .jquery-accordion-menu-header {
      background: #03A678;
    }
    ul {
      li a {
        background: #03A678;
      }
      ul.submenu li:hover > a {
        border-left-color: #049372;
      }
    }
    > ul > li {
      &.active > a, &:hover > a {
        background: #049372;
      }
      > a {
        border-bottom-color: #049372;
      }
    }
    }

    .red.jquery-accordion-menu {
    .jquery-accordion-menu-footer, .jquery-accordion-menu-header {
      background: #ED5565;
    }
    ul {
      li a {
        background: #ED5565;
      }
      ul.submenu li:hover > a {
        border-left-color: #DA4453;
      }
    }
    > ul > li {
      &.active > a, &:hover > a {
        background: #DA4453;
      }
      > a {
        border-bottom-color: #DA4453;
      }
    }
    }

    .white.jquery-accordion-menu {
      .filterinput{
        border-color: $grey3;
        color: $grey3;
        font-size: 12px;
        padding-left: 15px;
        font-weight: 100;
      }
    .jquery-accordion-menu-footer, .jquery-accordion-menu-header {
      background: #fff;
      color: #555;
    }
    ul {
      li a {
        background: #fff;
        color: #555;
      }
      ul.submenu li {
        &:hover > a {
          border-left-color: #f0f0f0;
        }
        a {
          color: #f0f0f0;
        }
      }
    }
    > ul > li {
      &.active > a, &:hover > a {
        background: #f0f0f0;
      }
      > a {
        border-bottom-color: #f0f0f0;
      }
    }
    > ul > li > a > .ink {
      background: rgba(0, 0, 0, 0.1);
    }
    }

    .black.jquery-accordion-menu {
    .jquery-accordion-menu-footer, .jquery-accordion-menu-header {
      background: #292929;
    }
    ul {
      li a {
        background: #292929;
      }
      ul.submenu li:hover > a {
        border-left-color: #222;
      }
    }
    > ul > li {
      &.active > a, &:hover > a {
        background: #222;
      }
      > a {
        border-bottom-color: #222;
      }
    }
    }
  }

  //contents
  .contents{
    margin-top: 10px;
    margin-left: 30px;
    margin-right: 30px;
    background: white;
    padding: 20px;
    border-radius: 5px;
    min-height: 570px;
    //text-align: center;
    .header-all{
      margin-left: auto;
      margin-right: auto;
      .header{
        border-bottom: 2px solid $grey3;
        padding-bottom: 5px;
        .path{
          font-size: 20px;
          padding-left: 20px;
          margin-bottom: 15px;
        }
        .search{

        }
      }
      .file-body{
        .first-floor{
          padding-left: 20px;
          margin-bottom: 10px;
          margin-top: 10px;
          font-size: 16px;
          .filename{
            padding-left: 60px;
          }
        }

        .body-floor{
          height: 50px;
          padding-left: 20px;
          &:hover{
            background-color: $grey1;
            @include trans;
          }
          .checkbox{
            line-height: 35px;
          }
          .file-image{
            line-height: 45px;
            //.fa-folder-o{
            //  color: rgb(255, 211, 121);
            //}
          }
          .file-name{
            width: 100px;
            overflow: hidden;
            white-space: nowrap;    //文本不换行
            text-overflow: ellipsis;
            margin-left: 10px;
            line-height: 60px;
            padding-right: 20px;
          }
          //
          .file-size{
            line-height: 60px;
            //line-height: 50px;
          }

          .file-creator{
            line-height: 60px;
          }
          .file-time{
            line-height: 60px;
          }
        }

      }
    }

  }
}


$file-out-width:1200px;
$file-out-height:550px;
//file-out
.file-out{          //这种弹窗类型的都不应该放在这里
  width: 100%;
  height: $file-out-height;
  z-index: 10001;
  position: fixed;
  margin-top: 40px;
  top: 0;
  color: white;
  display: none;

  >*{
    float: left;
  }

  .pre-btn{
    width: 5%;
    height: 100%;
    &.pre-bg{
      background: url("../images/prev.png") no-repeat center center;
      cursor: pointer;
    }
  }
  .file-body{
    width: 90%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    >*{
      float: left;
    }
    .content{
      width:70%;
      height: 100%;
      padding-top:1px;
      .file{
        width: 250px;
        height: 360px;
        margin: 0 auto;
        margin-top: 90px;
        position: relative;
        .file-thumbnails{
          height: 70%;
          position: relative;
          .file-name{
            width: 100%;
            height: 100%;
            background-color: $grey2;
            color: white;
            text-align: center;
            line-height: 180px;
            img{
              height: 100%;
              width: 100%;

            }
          }
          .file-class{
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 45px;
            background-color: rgba(0,0,0,0.4);
            text-align: center;
            line-height: 45px;
          }
        }
        .file-size{
          .download{
            position: absolute;
            bottom: 0;
            width: 100%;
            height: 50px;
            background-color: $grey4;
            border: 0px solid $border_color;
            border-radius: 4px;
            margin-bottom: 20px;
          }
        }
      }

    }

    .attribute{
      width: 30%;
      height: 100%;
      background-color: $bgcolor;
      color:$grey4;
      .a-info{
        >*{
          width: 100%;
          height: 40px;
          padding: 20px;
        }
        .a-first{
          position: relative;
          >*{
            float: left;
          }
          .file-from{
            font-size: 15px;
          }
          .a-close{
            position:absolute ;
            font-size: 40px;
            top: -6px;;
            right: 12px;
            cursor: pointer;
          }
        }

        .file-name{
          font-size: 17px;
          color: $grey5;
        }

        .a-third{
          .file-uptime{
            float: left;
          }
          .file-people{
            float: right;
          }
        }
      }
      .a-operate{
        margin: 10px;
        background-color: white;
        border: 1px solid $border_color;
        height: 50px;

        ul{
          list-style: none;
          padding-left: 0;
          height: 100%;
          li{
            height: 100%;
            float: left;
            width: 50%;
            text-align: center;
            border-right: 1px solid $border_color;
            &:last-of-type{
              border-right: none;
            }
            a{
              height: 100%;
              font-size: 17px;
              display: block;
              line-height: 50px;
            }
          }
        }
      }
      .a-related{
        margin: 10px;
        background-color: white;
        ul{
          padding-left: 0px;
          >:last-child{
            border-bottom: 1px solid $border_color;
          }
          li{
            border-top:1px solid $border_color ;
            border-left: 1px solid $border_color;
            border-right: 1px solid $border_color;
            padding: 10px;
          }
        }
      }
    }
  }
  .next-btn{
    width: 5%;
    height: 100%;
    background: url("../images/next.png") no-repeat center center;
    cursor: pointer;
  }
}
//file-watch
.file-watch{
  position: fixed;
  z-index: 10005;
  top: 0;
  left: 50%;
  width: 850px;
  height: 420px;
  margin-left: -425px;
  margin-top: 105px;
  .close-circle{
    width: 45px;
    margin-top: -22px;
    margin-right: -22px;
    height: 45px;
    line-height: 45px;
    font-size: 47px;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    background-color: white;
    border-radius: 60px;
    cursor: pointer;
    opacity: 0.8;
    &:hover{
      transition-duration: 0.5s;
      opacity: 1;
    }
  }
  .video {
    //float: left;
    height: 100%;
    width: 100%;
    .video-js {
      background-color: $grey3;
      width: 100%;
      height: 100%;
    }
  }
}

//flex-适合用于无缝布局
.flex-col{
  display: flex;
  flex-flow: column;
}
.flex-row{
  display: flex;
  flex-flow: row;
}
.flex-1{
  flex: 1;
}
.flex-2{
  flex: 2;
}
.flex-3{
  flex: 3;
}
.flex-4{
  flex: 4;
}
.flex-5{
  flex: 5;
}
.flex-6{
  flex: 6;
}
.flex-7{
  flex: 7;
}
.flex-8{
  flex: 8;
}
.flex-9{
  flex: 9;
}
.flex-10{
  flex:10;
}
.flex-11{
  flex:11;
}
.flex-12{
  flex: 12;
}
//#wrapper {
//  margin: 0 auto;
//  width: 300px;
//}